package com.ruoyi.entity.vo;


import lombok.Data;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
public class FolderVO {
    private Long id;
    private Long parentId;
    private String name;
    private Integer security;
    private Date expirationDate;
    private List<FolderVO> children = new ArrayList<>();
    private String type;

    public FolderVO(Long id, Long parentId, String name,
                    Integer security, String type) {
        this.id = id;
        this.parentId = parentId;
        this.name = name;
        this.security = security;
        this.type = type;
    }
}
